<!DOCTYPE html>
<html lang="zh-CN" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>springboot - mybatis</title>
</head>
<body>
<h3>springboot - mybatis</h3>
<h4 th:text="${msg}"></h4>
<table>
    <tr>
        <th>编号</th>
        <th>书籍名称</th>
        <th>价格</th>
        <th>出版日期</th>
        <th>常用操作</th>
    </tr>
    <!-- th:each="obj,iterStat:${objList}" -->
    <tr th:each="book,stat:${list}">
        <td th:text="${book.id}"></td>
        <td th:text="${book.name}"></td>
        <td th:text="${book.price}"></td>
        <td th:text="${book.pdate}"></td>
        <td></td>
    </tr>
</table>
</body>
</html>